{% extends "../base.html" %}
{% block title %}{{ _('Search') }}{% end %}
{% block css %}
<link rel="stylesheet" href="{{ reverse_url('theme_static', 'highlight.css') }}" />
{% end %}
{% block content %}
<h2>search by {{ keywords }}</h2>
<div id="post-list">
    {% if page_obj.items %}
        {% for post in page_obj.items %}
            {% module Post(post) %}
        {% end %}
    {% else %}
        <div class="error-no-data">No post</div>
    {% end %}
</div>
{% end %}

